// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import Http from '@/utils/http'
import Clipboard from 'vue-clipboard2'
import lMessage from './components/message/index.js'

Vue.config.productionTip = false
Vue.use(Clipboard)
Vue.use(lMessage)
Vue.use(Http)
// Vue.component(lMessage.name, lMessage)
// Vue.prototype.$lMessage = lMessage.installMessage
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
